Fluent Assertions Documentation
FluentAssertions.Primitives Namespace / DateTimeAssertions<TAssertions> Class / BeOneOf Method / BeOneOf(DateTime[]) Method
The values that are valid.
In This Topic
    BeOneOf(DateTime[]) Method
    In This Topic
    Asserts that the System.DateTime is one of the specified validValues.
    Syntax
    public AndConstraint<TAssertions> BeOneOf( 
       params DateTime[] validValues
    )

    Parameters

    validValues
    The values that are valid.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also